inherited fmProductInfo: TfmProductInfo
  Caption = #20135#21697#20449#24687
  ClientHeight = 548
  ClientWidth = 978
  OnActivate = FormActivate
  ExplicitWidth = 986
  ExplicitHeight = 582
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    Width = 778
    Height = 502
    ExplicitWidth = 778
    ExplicitHeight = 502
    inherited lblCreateDate: TRzDBLabel
      Left = 824
      Top = 464
      DataField = 'bpi_createdate'
      DataSource = dsBase
      ExplicitLeft = 824
      ExplicitTop = 464
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 824
      Top = 444
      DataField = 'bpi_createstaff'
      DataSource = dsBase
      ExplicitLeft = 824
      ExplicitTop = 444
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 688
      Top = 464
      DataField = 'bpi_modifydate'
      ExplicitLeft = 688
      ExplicitTop = 464
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 688
      Top = 444
      DataField = 'bpi_modifystaff'
      ExplicitLeft = 688
      ExplicitTop = 444
    end
    object cxDBTextEdit8: TRzDBEdit [4]
      Left = 653
      Top = -401
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_simpname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 7
    end
    object cxDBTextEdit9: TRzDBEdit [5]
      Left = 65
      Top = -377
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_cnname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object edtFactory: TRzDBEdit [6]
      Left = 281
      Top = -172
      Width = 60
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 17
      OnDblClick = edtFactoryDblClick
    end
    object edtBuyPrice: TRzDBNumericEdit [7]
      Left = 700
      Top = -172
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyprice'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 30
      OnEnter = NumberEditEnter
      OnExit = NumberEditExit
      IntegersOnly = False
      DisplayFormat = 'RMB ,0.00;RMB -,0.00'
    end
    object edtSellPrice: TRzDBNumericEdit [8]
      Left = 281
      Top = -148
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_sellprice'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 19
      OnEnter = NumberEditEnter
      OnExit = NumberEditExit
      IntegersOnly = False
      DisplayFormat = 'USD ,0.00;USD -,0.00'
    end
    object cxDBTextEdit21: TRzDBEdit [9]
      Left = 65
      Top = -196
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_hscode'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
    end
    object pnlImages: TPanel [10]
      Left = 6
      Top = 242
      Width = 895
      Height = 190
      Align = alClient
      BevelOuter = bvNone
      Color = clWindow
      ParentBackground = False
      TabOrder = 35
      inline frameImages: TfrmImages
        Left = 0
        Top = 0
        Width = 895
        Height = 190
        Align = alClient
        TabOrder = 0
        ExplicitWidth = 895
        ExplicitHeight = 190
        inherited lvImages: TcxListView
          Width = 895
          Height = 190
          ExplicitWidth = 895
          ExplicitHeight = 190
        end
        inherited ilImages: TcxImageList
          FormatVersion = 1
        end
        inherited tblImages: TDAMemDataTable
          Top = 20
        end
      end
    end
    object cxDBMemo1: TRzDBMemo [11]
      Left = 457
      Top = -377
      Width = 120
      Height = 21
      DataField = 'bpi_desc'
      DataSource = dsBase
      TabOrder = 6
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cbxCurrency: TRzDBComboBox [12]
      Left = 65
      Top = -148
      Width = 60
      Height = 21
      DataField = 'bpi_sellmcode'
      DataSource = dsBase
      AllowEdit = False
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 11
      OnChange = cbxCurrencyPropertiesChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cbxBuyCurrency: TRzDBComboBox [13]
      Left = 497
      Top = -172
      Width = 60
      Height = 21
      DataField = 'bpi_buymcode'
      DataSource = dsBase
      AllowEdit = False
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 24
      OnChange = cbxBuyCurrencyPropertiesChange
      OnDropDown = cbxBuyCurrencyDropDown
    end
    object cxDBTextEdit1: TRzDBEdit [14]
      Left = 65
      Top = -401
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_no'
      ReadOnly = True
      Color = clInfoBk
      Ctl3D = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ParentCtl3D = False
      TabOrder = 0
    end
    object cxDBTextEdit7: TRzDBEdit [15]
      Left = 457
      Top = -401
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_cname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 5
    end
    object edtGw: TRzDBNumericEdit [16]
      Left = 65
      Top = -172
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_gw'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 10
      OnEnter = NumberEditEnter
      OnExit = NumberEditExit
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBEdit1: TRzDBEdit [17]
      Left = 344
      Top = -172
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fsimpname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 18
    end
    object cbxUnit: TRzDBComboBox [18]
      Left = 700
      Top = -196
      Width = 120
      Height = 21
      DataField = 'bpi_unit'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 29
      OnDropDown = cbxUnitDropDown
    end
    object cxDBTextEdit4: TRzDBEdit [19]
      Left = 261
      Top = -254
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_enname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
    end
    inherited pcDetails: TcxPageControl
      Top = -18
      Width = 895
      TabOrder = 34
      ExplicitTop = -18
      ExplicitWidth = 895
      ClientRectRight = 895
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 895
        ExplicitHeight = 223
        inherited grdDetails: TcxGrid
          Width = 895
          ExplicitWidth = 895
          inherited tvDetails: TcxGridDBBandedTableView
            OnDblClick = tvDetailsDblClick
            Navigator.Buttons.Edit.Visible = False
            OptionsView.Footer = False
            Bands = <
              item
              end
              item
                Visible = False
              end>
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Visible = True
              Position.BandIndex = 0
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsColumn1: TcxGridDBBandedColumn
              Caption = #20379#24212#21830#32534#21495
              DataBinding.FieldName = 'bpf_fno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.ReadOnly = True
              Properties.OnButtonClick = tvDetailsColumn1PropertiesButtonClick
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn
              Caption = #20379#24212#21830#21517#31216
              DataBinding.FieldName = 'bpf_fsimpname'
              Options.Editing = False
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsMcode: TcxGridDBBandedColumn
              Caption = #24065#21035
              DataBinding.FieldName = 'bpf_mcode'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn
              Caption = #27719#29575
              DataBinding.FieldName = 'bpf_rate'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsPrice: TcxGridDBBandedColumn
              Caption = #20215#26684
              DataBinding.FieldName = 'bpf_price'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #20215#26684#26085#26399
              DataBinding.FieldName = 'bpf_date'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'bpf_remark'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn
              Caption = #20854#20182
              DataBinding.FieldName = 'bpf_other'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    object RzDBMemo1: TRzDBMemo [21]
      Left = 653
      Top = -377
      Width = 120
      Height = 21
      DataField = 'bpi_remark'
      DataSource = dsBase
      TabOrder = 8
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBEdit2: TRzDBEdit [22]
      Left = 560
      Top = -172
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyrate'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 25
    end
    object RzDBEdit3: TRzDBEdit [23]
      Left = 128
      Top = -148
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_sellrate'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 12
    end
    object RzDBNumericEdit1: TRzDBNumericEdit [24]
      Left = 281
      Top = -196
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_customrate'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 16
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit2: TRzDBNumericEdit [25]
      Left = 497
      Top = -196
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_salerate'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 23
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object grdRealno: TcxGrid [26]
      Left = 261
      Top = -377
      Width = 120
      Height = 120
      TabOrder = 3
      object tvRealno: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = dsRealno
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsView.GridLines = glNone
        OptionsView.GroupByBox = False
        OptionsView.Header = False
        object tvRealnoColumn1: TcxGridDBColumn
          DataBinding.FieldName = 'bpi_realno'
          Width = 118
        end
      end
      object lvRealno: TcxGridLevel
        GridView = tvRealno
      end
    end
    object edtRealno: TRzDBEdit [27]
      Left = 261
      Top = -401
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_realno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
      OnKeyUp = edtRealnoKeyUp
    end
    object RzDBEdit4: TRzDBEdit [28]
      Left = 497
      Top = -148
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fsimpname2'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 26
    end
    object RzDBEdit5: TRzDBEdit [29]
      Left = 281
      Top = -124
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fsimpname3'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 20
    end
    object RzDBEdit6: TRzDBEdit [30]
      Left = 700
      Top = -100
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fsimpname5'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 33
    end
    object RzDBEdit7: TRzDBEdit [31]
      Left = 65
      Top = -100
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_fsimpname4'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 14
    end
    object RzDBNumericEdit3: TRzDBNumericEdit [32]
      Left = 65
      Top = -124
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyprice2'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 13
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit4: TRzDBNumericEdit [33]
      Left = 281
      Top = -76
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyprice5'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 22
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit5: TRzDBNumericEdit [34]
      Left = 700
      Top = -124
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyprice3'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 32
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit6: TRzDBNumericEdit [35]
      Left = 497
      Top = -100
      Width = 65
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buyprice4'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 28
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBEdit8: TRzDBEdit [36]
      Left = 700
      Top = -148
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buymcode2'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 31
    end
    object RzDBEdit9: TRzDBEdit [37]
      Left = 497
      Top = -124
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buymcode3'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 27
    end
    object RzDBEdit10: TRzDBEdit [38]
      Left = 281
      Top = -100
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buymcode4'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 21
    end
    object RzDBEdit11: TRzDBEdit [39]
      Left = 65
      Top = -76
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'bpi_buymcode5'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 15
    end
    inherited lcgRoot: TdxLayoutGroup
      AlignVert = avParentManaged
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      CaptionOptions.Text = #20379#24212#21830
      Index = 2
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 4
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 0
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #20869#37096#32534#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem9: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #20013#25991#21697#21517
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit9
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #20135#21697#22411#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoMiddle
      Control = edtRealno
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcitemRealno: TdxLayoutItem
      CaptionOptions.Text = ' '
      Parent = lcgBaseInfoMiddle
      Visible = False
      Control = grdRealno
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem4: TdxLayoutItem
      CaptionOptions.Text = #33521#25991#21697#21517
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit4
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #20135#21697#31867#21035
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = cxDBTextEdit7
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem7CaptionClick
      Index = 0
    end
    object lcMainItem42: TdxLayoutItem
      CaptionOptions.Text = #22411#21495#25551#36848
      Parent = lcgBaseInfoRight
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem8: TdxLayoutItem
      CaptionOptions.Text = #20135#21697#21517#31216
      Parent = lcgBaseInfoLast
      Control = cxDBTextEdit8
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoLast
      Control = RzDBMemo1
      Index = 1
    end
    object lcgPrice: TdxLayoutGroup
      CaptionOptions.Text = #20215#26684#36153#29992#20449#24687
      LayoutLookAndFeel = dmImages.lfBaseInfoGroups
      Parent = lcgRoot
      ButtonOptions.Buttons = <>
      LayoutDirection = ldHorizontal
      OnCaptionClick = lcgBaseInfoCaptionClick
      Index = 1
    end
    object lcgPriceLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      Parent = lcgPrice
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 0
    end
    object lcMainItem23: TdxLayoutItem
      CaptionOptions.Text = 'HS '#32534#30721
      Parent = lcgPriceLeft
      Control = cxDBTextEdit21
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem23CaptionClick
      Index = 0
    end
    object lcMainItem45: TdxLayoutItem
      CaptionOptions.Text = #27611#37325' (KG)'
      Parent = lcgPriceLeft
      Control = edtGw
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainGroup2: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgPriceLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 2
    end
    object lcMainItem43: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #38144#21806#24065#21035
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup2
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem10: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup2
      Control = RzDBEdit3
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem19: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#21333#20215'2'
      Parent = lcgPriceLeft
      Control = RzDBNumericEdit3
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem18: TdxLayoutItem
      CaptionOptions.Text = #20379#24212#21830'4'
      Parent = lcgPriceLeft
      Control = RzDBEdit7
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem28: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#24065#21035'5'
      Parent = lcgPriceLeft
      Control = RzDBEdit11
      ControlOptions.ShowBorder = False
      Index = 5
    end
    object lcgPriceMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrice
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 1
    end
    object lcMainItem11: TdxLayoutItem
      CaptionOptions.Text = #20851#31246#31246#29575'(%)'
      Parent = lcgPriceMiddle
      Control = RzDBNumericEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcgFactory: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgPriceMiddle
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem6: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #20027#35201#20379#24212#21830
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgFactory
      Control = edtFactory
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem6CaptionClick
      Index = 0
    end
    object lcMainItem46: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcgFactory
      Control = RzDBEdit1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem16: TdxLayoutItem
      CaptionOptions.Text = #38144#21806#21333#20215
      Parent = lcgPriceMiddle
      Control = edtSellPrice
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem15: TdxLayoutItem
      CaptionOptions.Text = #20379#24212#21830'3'
      Parent = lcgPriceMiddle
      Control = RzDBEdit5
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem27: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#24065#21035'4'
      Parent = lcgPriceMiddle
      Control = RzDBEdit10
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem20: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#21333#20215'5'
      Parent = lcgPriceMiddle
      Control = RzDBNumericEdit4
      ControlOptions.ShowBorder = False
      Index = 5
    end
    object lcgPriceRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrice
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 2
    end
    object lcMainItem12: TdxLayoutItem
      CaptionOptions.Text = #20542#38144#31246#29575'(%)'
      Parent = lcgPriceRight
      Control = RzDBNumericEdit2
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup1: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgPriceRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem44: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #37319#36141#24065#21035
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup1
      Control = cbxBuyCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem5: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup1
      Control = RzDBEdit2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #20379#24212#21830'2'
      Parent = lcgPriceRight
      Control = RzDBEdit4
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem26: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#24065#21035'3'
      Parent = lcgPriceRight
      Control = RzDBEdit9
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem22: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#21333#20215'4'
      Parent = lcgPriceRight
      Control = RzDBNumericEdit6
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcgPriceLast: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrice
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 3
    end
    object lcMainItem47: TdxLayoutItem
      CaptionOptions.Text = #21333#20301
      Parent = lcgPriceLast
      Control = cbxUnit
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem14: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#21333#20215
      Parent = lcgPriceLast
      Control = edtBuyPrice
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem24: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#24065#21035'2'
      Parent = lcgPriceLast
      Control = RzDBEdit8
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem21: TdxLayoutItem
      CaptionOptions.Text = #37319#36141#21333#20215'3'
      Parent = lcgPriceLast
      Control = RzDBNumericEdit5
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem17: TdxLayoutItem
      CaptionOptions.Text = #20379#24212#21830'5'
      Parent = lcgPriceLast
      Control = RzDBEdit6
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcgImages: TdxLayoutGroup
      CaptionOptions.Text = #22270#29255
      LayoutLookAndFeel = dmImages.lfBaseInfoGroups
      Parent = lcgRoot
      ButtonOptions.Buttons = <>
      OnCaptionClick = lcgBaseInfoCaptionClick
      Index = 3
    end
    object lcMainItem25: TdxLayoutItem
      CaptionOptions.Text = 'Panel1'
      CaptionOptions.Visible = False
      Parent = lcgImages
      Control = pnlImages
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 0
    end
  end
  inherited pnlRight: TPanel
    Left = 778
    Height = 502
    ExplicitLeft = 778
    ExplicitHeight = 502
    inherited frameAttachs: TfrmAttachs
      Height = 200
      Align = alTop
      ExplicitHeight = 200
      inherited lvAttachs: TcxListView
        Height = 174
        ExplicitHeight = 174
      end
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited dxStatusBar1: TdxStatusBar
    Top = 528
    Width = 978
    ExplicitTop = 528
    ExplicitWidth = 978
  end
  inherited BarManager: TdxBarManager
    UseSystemFont = False
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnShowPicture'
        end>
    end
    inherited bbtnCopy: TdxBarButton
      Visible = ivAlways
    end
    object bbtnShowPicture: TdxBarButton
      Caption = #22270#29255
      Category = 0
      Hint = #22270#29255
      Visible = ivAlways
      ButtonStyle = bsChecked
      Down = True
      ImageIndex = 145
      OnClick = bbtnShowPictureClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'bpi_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'bpi_cid'
        DataType = datGuid
      end
      item
        Name = 'bpi_cname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_no'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_realno'
        DataType = datString
        Size = 120
        OnValidate = tblBasebpi_realnoValidate
      end
      item
        Name = 'bpi_simpname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'bpi_cnname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'bpi_enname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'bpi_buyprice'
        DataType = datFloat
      end
      item
        Name = 'bpi_sellprice'
        DataType = datFloat
      end
      item
        Name = 'bpi_fid'
        DataType = datGuid
      end
      item
        Name = 'bpi_fno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_fsimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_desc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'bpi_pictureid'
        DataType = datGuid
      end
      item
        Name = 'bpi_sellmcode'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_sellrate'
        DataType = datFloat
      end
      item
        Name = 'bpi_buymcode'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_buyrate'
        DataType = datFloat
      end
      item
        Name = 'bpi_unit'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_gw'
        DataType = datFloat
      end
      item
        Name = 'bpi_confirmer'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_remark'
        DataType = datString
        Size = 240
      end
      item
        Name = 'bpi_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_createdate'
        DataType = datDateTime
      end
      item
        Name = 'bpi_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'bpi_hscode'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_salerate'
        DataType = datFloat
      end
      item
        Name = 'bpi_customrate'
        DataType = datFloat
      end
      item
        Name = 'bpi_buymcode2'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_buymcode3'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_buymcode4'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_buymcode5'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpi_fsimpname2'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_buyprice2'
        DataType = datFloat
      end
      item
        Name = 'bpi_fsimpname3'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_buyprice3'
        DataType = datFloat
      end
      item
        Name = 'bpi_fsimpname4'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_buyprice4'
        DataType = datFloat
      end
      item
        Name = 'bpi_fsimpname5'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpi_buyprice5'
        DataType = datFloat
      end>
    LogicalName = 'b_productinfo'
    Left = 294
    Top = 262
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
    Left = 326
    Top = 262
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'bpf_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'bpf_serial'
        DataType = datAutoInc
        GeneratorName = 'b_productfactory'
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'bpf_fid'
        DataType = datGuid
      end
      item
        Name = 'bpf_fno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'bpf_fsimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bpf_mcode'
        DataType = datString
        Size = 10
        OnValidate = tblDetailsbpf_mcodeValidate
      end
      item
        Name = 'bpf_rate'
        DataType = datFloat
      end
      item
        Name = 'bpf_price'
        DataType = datFloat
      end
      item
        Name = 'bpf_date'
        DataType = datDateTime
      end
      item
        Name = 'bpf_other'
        DataType = datString
        Size = 60
      end
      item
        Name = 'bpf_remark'
        DataType = datString
        Size = 120
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'bpi_id'
    DetailFields = 'bpf_pid'
    LogicalName = 'b_productfactory'
    Left = 56
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
  object mnuAttach: TPopupMenu
    Left = 626
    Top = 748
    object itemAdd: TMenuItem
      Caption = #28155#21152
    end
    object itemDelete: TMenuItem
      Caption = #21024#38500
    end
    object itemView: TMenuItem
      Caption = #26597#30475
    end
  end
  object tblRealno: TDAMemDataTable
    RemoteUpdatesOptions = [ruoOnPost]
    Fields = <
      item
        Name = 'bpi_realno'
        DataType = datString
        Size = 120
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    ReadOnly = True
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'realno'
    IndexDefs = <>
    Left = 552
    Top = 222
  end
  object dsRealno: TDADataSource
    AutoEdit = False
    DataSet = tblRealno.Dataset
    DataTable = tblRealno
    Left = 584
    Top = 222
  end
end
